package com.shd.edanpei.presenter.contract;

import android.os.Bundle;
import android.support.annotation.IdRes;
import android.widget.TextView;

import com.shd.edanpei.base.BaseIPresenter;
import com.shd.edanpei.base.BaseIView;
import com.shd.edanpei.bean.CustomerBean;

/**
 * Created by mc on 2018/9/22.
 * yang-wen-wen
 */

public interface CustomerInfoContract {

    interface CustomerInfoIView extends BaseIView {

        void setText(TextView text, String str);

        TextView getSubmitView();

        void setData(CustomerBean bean);

    }

    interface CustomerInfoIPresenter extends BaseIPresenter {

        void setCustomerBean(CustomerBean customerBean);

        void getCustomerInfo(Bundle bundle);

        void setName(String str);

        void setBirthday(TextView text);

        void setIdNumber(String str);

        void setContact(String str);

        void setSpouseName(String str);

        void setSpouseContact(String str);

        void setMarital(boolean b);

        void setSalary(TextView text);

        void setIndustry(TextView text);

        void setLiveAddress(TextView text);

        void setDetailAddress(String str);

        void submit();

        void updata(int index);
    }
}
